package org.gwt.mosaic.application.client;

import org.gwt.mosaic.application.client.ParsedElement.Types;
import org.gwt.mosaic.xul.client.ui.Element;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * An example using {@link ParsedElement} annotations 
 * 
 * @author Alex Dobjanschi (alex.dobjanschi@gmail.com)
 *
 */
public interface ResourceConstants {
	
	@ParsedElement (file="calculator.xml",type=Types.ASYNC)
	void getCalculator (AsyncCallback<Element> callback);
	
	@ParsedElement (file="calculator.xml",type=Types.SYNC)
	Element getCalculatorSync ();
}
